package com.shj.em.biz.sys.entity;

import com.baomidou.mybatisplus.annotations.*;
import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import java.util.List;

import com.shj.em.base.entity.BaseEntity;



import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 代码项
 * </p>
 *
 * @author Shen Huang Jian
 * @since 2018-07-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_cd_type")
public class CdType extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 类型
     */
    private String type;

    /**
     * 描述
     */
    private String description;

    /**
     * 父级编号
     */
    private Long parentId;

    @TableField(exist = false)
    private List<Cd> items;

}
